package com.example.demo.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.util.ResourceUtils;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

/**
 * @author Administrator
 * @className wuyp
 * @description:
 * @Date 2022/3/25 13:02
 **/
/*
@Configuration
public class MyWebMvcConfigurerAdapter extends WebMvcConfigurationSupport {

    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry){
                registry.addResourceHandler("/static/**")
                        .addResourceLocations("classpath:/static/");
                super.addResourceHandlers(registry);

    }
}

*/
